/**
 * Copyright (C) 2018-2021
 * All rights reserved, Designed By www.yixiang.co

 */
package co.yixiang.modules.product.service.dto;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @ClassName FromatDetailDTO
 * @Author hupeng <610796224@qq.com>
 * @Date 2019/10/12
 **/

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class FromatDetailDto {
    private  String attrHidden;

    private  String detailValue;

    private List<String> detail;

    private String value;

    public static FromatDetailDtoBuilder builder() {
        return new FromatDetailDtoBuilder();
    }

    public static class FromatDetailDtoBuilder {
        private String attrHidden;
        private String detailValue;
        private List<String> detail;
        private String value;

        FromatDetailDtoBuilder() {
        }

        public FromatDetailDtoBuilder attrHidden(String attrHidden) {
            this.attrHidden = attrHidden;
            return this;
        }

        public FromatDetailDtoBuilder detailValue(String detailValue) {
            this.detailValue = detailValue;
            return this;
        }

        public FromatDetailDtoBuilder detail(List<String> detail) {
            this.detail = detail;
            return this;
        }

        public FromatDetailDtoBuilder value(String value) {
            this.value = value;
            return this;
        }

        public FromatDetailDto build() {
            return new FromatDetailDto(attrHidden, detailValue, detail, value);
        }

        public String toString() {
            return "FromatDetailDto.FromatDetailDtoBuilder(attrHidden=" + this.attrHidden + ", detailValue=" + this.detailValue + ", detail=" + this.detail + ", value=" + this.value + ")";
        }
    }
}
